Documentation of script files in C# using Doxygen
This website contains a full documentation generated by Doxygen.
To inspect C#-Files simply navigate to "Files" and open your target file.
You can configure and update this documentation using the submodule "docs".
Generating documentation
After updating script files in C# in the master branch, it is recommended to update HTML documentation as well.
To do this, proceed as follows:
- Install Graphviz 2.38 (http://www.graphviz.org/download/)
- Install Doxygen 1.9.2 (https://www.doxygen.nl/download.html)
- Open the file "ClassroomDoxyfile" in an editor of your choice.
- Within this file, under the INPUT tag, you will find a listing of paths that contain the C# scripts to be documented.
Modify these paths as needed.
INPUT = ../Assets/ownScripts \
../Assets/Scripts
- Within this file, the path to the Graphviz program for graph display is specified under the DOT_PATH tag.
Adjust this path as well if necessary.
DOT_PATH = "C:\Program Files (x86)\Graphviz2.38\bin"
- After you have saved the changes, you can close the editor.
- Open the command prompt and change to the "Documentation" folder of the VR Classroom.
- Regenerate the HTML documentation of the VR classroom by entering the command "doxygen KlassenzimmerDoxyfile".
Once this process is finished, you can close the command prompt again.
Commenting source code
By commenting the source code, relevant information can be added to the documentation.
However, in order for comments to be considered when generating Doxygen's documentation, they must follow certain guidelines.
These guidelines can be found in detail in the Doxygen documentation at https://www.doxygen.nl/manual/docblocks.html.